package com.apexsoft.assets.base;

import com.apexsoft.assets.base.exception.UnLoadEsException;
import com.apexsoft.assets.base.model.EsFileModel;

import java.util.List;

public interface IEsService {
    default com.apexsoft.aas.service.model.AResponse addDoc(EsFileModel model) throws UnLoadEsException {
        throw new UnLoadEsException();
    }
    default com.apexsoft.aas.service.model.AResponse queryDoc(int current, int pageSize, String objectName, String columnName, String id) throws UnLoadEsException {
        throw new UnLoadEsException();
    }
    default com.apexsoft.aas.service.model.AResponse deleteByQuery(String objectName, String columnName, String id)throws UnLoadEsException {
        throw new UnLoadEsException();
    }
    default com.apexsoft.aas.service.model.AResponse delDocByQuery(com.apexsoft.aas.service.model.ARequest aRequest)throws UnLoadEsException {
        throw new UnLoadEsException();
    }
    default com.apexsoft.aas.service.model.AResponse delDocByMd5(com.apexsoft.aas.service.model.ARequest aRequest)throws UnLoadEsException {
        throw new UnLoadEsException();
    }
    default com.apexsoft.aas.service.model.AResponse likeSearch(int current, int pageSize, String field, String cpid, String wdfl, List<String> cpfl) throws UnLoadEsException{
        throw new UnLoadEsException();
    }
}
